export const dataMap = {
  address: 'address',
  // amFactory: '辅机厂家',
  // amModel: '辅机型号',
  // amName: '辅机名称',
  // amNumber: '辅机编号',
  // amPower: '辅机功率',
  // amTime: 1641437580000,
  // assetNumber: '资产编号',
  // assetUnit: '资产单位',
  // captain: '机长',
  // chassisNumber: '底盘号',
  // createTime: 1641437649000,
  // designAbility: '设计能力',
  // devCategory: '设备分类',
  devName: 'name',
  devNumber: 'number',
  // devPower: '设备功率',
  // devSource: 2,
  // devStatus: 1,
  // engineNumber: '发动机编号',
  factoryName: 'factory',
  // factoryNumber: '厂家编号',
  // factoryTime: 1641437580000,
  // id: '1',
  // image: '图片',
  // monitorDevice: true,
  // netValue: 1,
  oldYears: 'oldYears',
  payAmount: 'payValue',
  payTime: 'payTime',
  // plateNumber: '车牌号',
  // professionalDevice: true,
  // remainMonth: 2,
  // remark: '备注',
  resetAmount: 'resetValue',
  // residualRate: 1,
  // residualValue: 2,
  // sequence: 1,
  // size: '外形尺寸',
  // specialDevice: false,
  specification: 'specification',
  // techStatus: 3,
  // totalOldValue: 3,
  useYears: 'useYears',
  reason: 'reason'
  // weight: '重量'
}
export const turnMap = {
  number: 'devNumber',
  name: 'devName',
  specification: 'specification',
  factory: 'factoryName',
  payTime: 'payTime',
  useYears: 'useYears',
  oldYears: 'oldYears',
  payValue: 'payAmount',
  reason: 'reason',
  address: 'address',
  resetValue: 'resetAmount'
}
// 设备报废计划保存
export const deviceScrapPlan = {
  'address': '',
  'createTime': '',
  // 'deviceScrapPlanInfoId': null,
  'factory': '',
  // 'id': '',
  'name': '',
  'number': '',
  'oldYears': '',
  'payTime': '',
  'payValue': '',
  'reason': '',
  'specification': '',
  'useYears': ''
}

// 设备报废处理
export const deviceScrapHand = {
  'createTime': '',
  // 'deviceScrapHandleInfoId': 0,
  'factory': '',
  'handleAmount': '',
  // 'id': 0,
  'name': '',
  'netValue': '',
  'number': '',
  'payTime': '',
  'payValue': '',
  'remark': '',
  'resetValue': '',
  'result': '',
  'specification': '',
  'useYears': '',
  'useMonth': ''
}
